package com.study.design.pattern.pattern.structural.adapter.objectadapter;

/**
 * @Author: gongsl
 * @Date: 2025-03-09 23:18
 * @description:
 */
public class Test {
    public static void main(String[] args) {
        // 目标实现类是本来就应该有的实现类，这里创建只是为了和下面的适配器类进行对比
        Target target = new ConcreteTarget();
        target.request();
        // 创建适配器类
        Target adapter = new Adapter();
        adapter.request();
    }
}
